package matlab;

public abstract class AbstractVariable implements IVariable {

	String name;
	
	public AbstractVariable(String name) {
		this.name = name;
	}
	
	@Override
	public int[] getDimensions() {
		return new int[] { 1, 1 };
	}

	@Override
	public double[] getDoubleArray() {		
		return null;
	}

	@Override
	public int[] getIntegerArray() {
		return null;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getText() {
 		return null;
	}

	@Override
	public ArrayType getType() {
 		return null;
	}

	@Override
	public boolean isDouble() {
 		return false;
	}

	@Override
	public boolean isInteger() {
 		return false;
	}

	@Override
	public boolean isText() {
 		return false;
	}

}
